//
//  BlogViewController.h
//  CharlesMVX
//
//  Created by Charles on 2020/3/11.
//  Copyright © 2020 Charles. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class BlogViewPresenter,Blog;
@protocol BlogViewControllerCallBack <NSObject>

- (void)blogViewControllerdidSelectBlog:(Blog *)blog;

@end

@interface BlogViewController : NSObject<UITableViewDelegate,UITableViewDataSource>

@property (nonatomic, weak) id<BlogViewControllerCallBack>delegate;
+ (instancetype)instanceWithPresenter:(BlogViewPresenter *)presenter;

- (UITableView *)tableView;
- (BlogViewPresenter *)presenter;
@end

NS_ASSUME_NONNULL_END
